<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Reservation and Booking - Free Hotel Website Template designed by TemplateMonster</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="description" content="Feel free to visit a Booking page of a Free Hotel Website Template from TemplateMonster.com."/>
<link href="style.css" rel="stylesheet" type="text/css" />
<link href="layout.css" rel="stylesheet" type="text/css" />
<script src="maxheight.js" type="text/javascript"></script>
<!--[if lt IE 7]>
	<link href="ie_style.css" rel="stylesheet" type="text/css" />
   <script type="text/javascript" src="ie_png.js"></script>
   <script type="text/javascript">
	   ie_png.fix('.png, #header .row-2, #header .nav li a, #content, .gallery li');
   </script>
<![endif]-->
</head>
<body id="page5" onload="new ElementMaxHeight();">
<div id="main">
<!-- header -->
	<div id="header">
		<div class="row-1">
	 		<div class="wrapper">
				<div class="logo">
					<h1><a href="index.html">Indonesian Hotels </a></h1>
					<em>Hotel</em>
					<strong>True Luxury</strong>
				</div>
		
			</div>
		</div>
		<div class="row-2">
	 		<div class="indent">
<!-- header-box begin -->
				<div class="header-box">
					<div class="inner">
						<ul class="nav">
					 		<li><a href="index.php">Home page</a></li>
							<li><a href="services.php">Room and Rates</a></li>
							<li><a href="booking.php" class="current">Booking</a></li>
							<li><a href="location.php">Location</a></li>
							<li><a href="gallery.php">Gallery</a></li>
							<li><a href="contact.php">Contact Us</a></li>

						</ul>
					</div>
				</div>
<!-- header-box end -->
			</div>
		</div>
	</div>
<!-- content -->
	<div id="content">
		<div class="wrapper">
			<div class="aside maxheight">
<!-- box begin -->
				<div class="box maxheight">
					<div class="inner">
						<?php
							include_once("form_reservasi.php");
						?>
					</div>
				</div>
<!-- box end -->
			</div>
			<div class="content">
				<div class="indent">
					<?php
							include_once("connect.php");
							$id=$_GET['id'];
					?>
					<h2>SELECT DATES</h2>
					<form name="form_booking" method="POST" action="login.php">
					<table border="1">
						<tr>
							<td width="40%">Check In</td>
							<td width="100%"><input type="text" name="cekin" id="cekin"></td>
						</tr>
						<tr>
							<td>Check Out</td>
							<td><input type="text" name="cekout" id="cekout"></td>
						</tr>
						
						<tr>
							<td>Room Type</td>
							<td><select name="nm_hotel">
								<?php
								$q = mysql_query("select jenis_kamar from view_ref_biaya where id_hotel=$id"); 
								while ($row1 = mysql_fetch_array($q)){
								echo "<option value=$row1[0]>$row1[0]</option>";
								}
								?>
								</select>
							</td>
						</tr>
						
						<tr>
							<td>Number of Rooms</td>
							<td><input type="number" name="jml" id="jml"></td>
						</tr>
						
						<tr>
							<td>&nbsp </td>
							<td><input type="submit" id="button" name="book" value="Book"></td>
						</tr>
						
					</table>
					</form>
				</div>
			</div>
		</div>
	</div>
<!-- footer -->
	<div id="footer">
  		<ul class="nav">
	 		<li><a href="index.html">Home</a>|</li>
			<li><a href="services.html">Services</a>|</li>
			<li><a href="gallery.html">Gallery</a>|</li>
			<li><a href="restaurant.html">Restaurant</a>|</li>
			<li><a href="testimonials.html">Testimonials</a>|</li>
			<li><a href="booking.html">Booking</a></li>
		</ul>
		<div class="wrapper">
			<div class="fleft">Copyright (c) 2009 FiveStar Hotel</div>
			<div class="fright"><a rel="nofollow" href="http://www.templatemonster.com/flash-templates.php">Flash Templates</a> from TemplateMonster - Squeeze Your Competitors.</div>
		</div>
	</div>
</div>
</body>
</html>